package cn.com.w.dao.Service;


import cn.com.w.common.DTO.SysUserDTO;
import cn.com.w.dao.Entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author wangJK
 * @since 2025-04-25
 */
@Service
public interface ISysUserService extends IService<SysUser> {
    /**
     * @Description: 保存 并赋予 普通用户 权限
     * @DateTime: 2025 04 27 08:51
     * @Params: [user]
     * @Return void
     */
    void saveOne(SysUserDTO user) throws Exception;

    SysUserDTO loadUserByUsername(String username) throws Exception;
}
